//
//  CCPopViewController.swift
//  SinaWebo
//
//  Created by 陶建 on 16/4/6.
//  Copyright © 2016年 taoJ. All rights reserved.
//

import UIKit

protocol CCPopViewControllerDelegate: NSObjectProtocol {
    func popViewControllerShow(popViewController: CCPopViewController)
    func popViewControllerHide(popViewController: CCPopViewController)
}

class CCPopViewController: UIViewController {

    weak var delegate: CCPopViewControllerDelegate?
    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    func Show() {
        delegate?.popViewControllerShow(self)
    }
    
    func hide() {
        delegate?.popViewControllerHide(self)
    }
}
